<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:replace="common/common :: common-head"/>
    <script type="application/javascript" th:src="@{/static/test/js/md5-test.js}"></script>
    <meta charset="UTF-8">
    <title>MD5测试</title>
</head>
<body>
    <div class="container">
        <div class="page-header">
            <h1>MD5测试<small>测试Jquery将字符串转换成md5</small></h1>
        </div>
        <form class="row">
            <div class="input-group">
                <label class="input-group-addon" for="md5-str">字符串</label>
                <input type="text" class="form-control" id="md5-str" name="str" aria-describedby="sizing-addon1"/>
                <span class="input-group-btn">
                    <button class="btn btn-default" id="md5-btn" type="button">测试</button>
                </span>
            </div>
        </form>
        <div class="row">
            MD5:<span id="md5-value"></span>
        </div>

    </div>
</body>
<script type="application/javascript">
$(function () {
    md5Test.init();
});
</script>
</html>